package com.heima.pojo.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_sku_class")
public class SkuClass {

    @TableId(value = "class_id", type = IdType.AUTO)
    private Long classId;
    private String className;
    @TableField(fill = FieldFill.INSERT)
    @JsonIgnore //查询详情的时候不响应该字段给前端
    private Integer parentId;
}
